#ifndef LINE_SYMBOL_H
#define LINE_SYMBOL_H

#include "PlotModel.h"

#include "qwt_symbol.h"


/// <summary>
/// Klasa reprezentujaca linie z jednego punktu do drugiego
/// </summary>
class LineSymbol : public QwtSymbol
{

public:

	LineSymbol(const QBrush &, const QPen &, const QSize &, PlotModel *);

	void drawSymbol(QPainter *, const QPointF &) const;
	virtual void drawSymbols(QPainter *, const QPointF *, int) const;


private:
	PlotModel *_model;
};

#endif